package com.itheima;

public class Aoteman {
    private String name;
    private String yers;
    private String jtzz;

    public Aoteman() {
    }

    public Aoteman(String name, String yers, String jtzz) {
        this.name = name;
        this.yers = yers;
        this.jtzz = jtzz;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getYers() {
        return yers;
    }

    public void setYers(String yers) {
        this.yers = yers;
    }

    public String getJtzz() {
        return jtzz;
    }

    public void setJtzz(String jtzz) {
        this.jtzz = jtzz;
    }
    public void show(){
        System.out.println(name );
        System.out.println(yers);
        System.out.println( jtzz);
        System.out.println();
    }
}
